package com.ylkj.patientdrug.entity;

/**
 * Created by SHICHENG
 * <p>
 * Time on
 */
public class NearestAddressBean {


    /**
     * code : 200
     * result : true
     * msg : null
     * data : {"addressId":null,"uid":0,"name":null,"provinceName":null,"cityName":null,"countyName":null,"postcode":null,"telephone":null,"telephoneAes":null,"detailAddress":null,"defaultAddress":false,"posttime":null,"lmodify":null,"tag":null,"available":true,"lng":0,"lat":0}
     */

    private int code;
    private boolean result;
    private String msg;
    /**
     * addressId : null
     * uid : 0
     * name : null
     * provinceName : null
     * cityName : null
     * countyName : null
     * postcode : null
     * telephone : null
     * telephoneAes : null
     * detailAddress : null
     * defaultAddress : false
     * posttime : null
     * lmodify : null
     * tag : null
     * available : true
     * lng : 0.0
     * lat : 0.0
     */

    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private String addressId;
        private int uid;
        private String name;
        private String provinceName;
        private String cityName;
        private String countyName;
        private String postcode;
        private String telephone;
        private String telephoneAes;
        private String detailAddress;
        private boolean defaultAddress;
        private String posttime;
        private String lmodify;
        private String tag;
        private boolean available;
        private double lng;
        private double lat;

        public String getAddressId() {
            return addressId;
        }

        public void setAddressId(String addressId) {
            this.addressId = addressId;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getProvinceName() {
            return provinceName;
        }

        public void setProvinceName(String provinceName) {
            this.provinceName = provinceName;
        }

        public String getCityName() {
            return cityName;
        }

        public void setCityName(String cityName) {
            this.cityName = cityName;
        }

        public String getCountyName() {
            return countyName;
        }

        public void setCountyName(String countyName) {
            this.countyName = countyName;
        }

        public String getPostcode() {
            return postcode;
        }

        public void setPostcode(String postcode) {
            this.postcode = postcode;
        }

        public String getTelephone() {
            return telephone;
        }

        public void setTelephone(String telephone) {
            this.telephone = telephone;
        }

        public String getTelephoneAes() {
            return telephoneAes;
        }

        public void setTelephoneAes(String telephoneAes) {
            this.telephoneAes = telephoneAes;
        }

        public String getDetailAddress() {
            return detailAddress;
        }

        public void setDetailAddress(String detailAddress) {
            this.detailAddress = detailAddress;
        }

        public boolean isDefaultAddress() {
            return defaultAddress;
        }

        public void setDefaultAddress(boolean defaultAddress) {
            this.defaultAddress = defaultAddress;
        }

        public String getPosttime() {
            return posttime;
        }

        public void setPosttime(String posttime) {
            this.posttime = posttime;
        }

        public String getLmodify() {
            return lmodify;
        }

        public void setLmodify(String lmodify) {
            this.lmodify = lmodify;
        }

        public String getTag() {
            return tag;
        }

        public void setTag(String tag) {
            this.tag = tag;
        }

        public boolean isAvailable() {
            return available;
        }

        public void setAvailable(boolean available) {
            this.available = available;
        }

        public double getLng() {
            return lng;
        }

        public void setLng(double lng) {
            this.lng = lng;
        }

        public double getLat() {
            return lat;
        }

        public void setLat(double lat) {
            this.lat = lat;
        }
    }
}
